﻿using System;
using System.Diagnostics;

namespace Lenic.DI.Lifetimes
{
    /// <summary>
    /// 缺省生存周期类【容器不对生成的对象进行处理】
    /// </summary>
    [DebuggerStepThrough]
    public class DefaultLifetime : LifetimeBase
    {
        #region LifetimeBase

        protected override object GetValue<T>(string name, Func<Delegate, T> action)
        {
            return @action(Function);
        }

        #endregion LifetimeBase
    }
}